package 抽象数据类型;

public class DListNode {

    public DListNode next;
    public DListNode pre;
    public int val;

    public DListNode(int val) {
        this.val = val;
    }

    public DListNode() {

    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public DListNode getNext() {
        return next;
    }

    public void setNext(DListNode next) {
        this.next = next;
    }

    public DListNode getPre() {
        return pre;
    }

    public void setPre(DListNode pre) {
        this.pre = pre;
    }
}


